Two NP-Complete Problems in Software Security

نویسندگان

  • Boting Yang
  • Philip W. L. Fong
چکیده

A secure programming environment must offer protection mechanisms for regulating the interaction between mutually suspicious code units. Discretionary Capability Confinement (DCC) is a static type system recently proposed for expressing and enforcing access control policies in Java programs. This paper considers the computational complexity of the type reconstruction problem for DCC, that is, the automatic inference of DCC annotations for legacy Java code base. We model a representative subproblem of the type reconstruction problem as a graph-theoretic optimization problem. We demonstrate that this problem is NP-Complete. To strengthen the result, we further eliminate the asymmetry in the problem statement to obtain an elegant reformulation. We show that the reformulated problem is still NP-Complete. These results help identify the complexity core of the type reconstruction problem, and suggest that practical type reconstruction tool must adopt a heuristic and/or approximation approach.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

On the computational complexity of finding a minimal basis for the guess and determine attack

Guess-and-determine attack is one of the general attacks on stream ciphers. It is a common cryptanalysis tool for evaluating security of stream ciphers. The effectiveness of this attack is based on the number of unknown bits which will be guessed by the attacker to break the cryptosystem. In this work, we present a relation between the minimum numbers of the guessed bits and uniquely restricted...

متن کامل

On Worst-Case to Average-Case Reductions for NP Problems

We show that if an NP-complete problem has a non-adaptive self-corrector with respect to a samplable distribution then coNP is contained in NP/poly and the polynomial hierarchy collapses to the third level. Feigenbaum and Fortnow (SICOMP 22:994-1005, 1993) show the same conclusion under the stronger assumption that an NP-complete problem has a non-adaptive random self-reduction. Our result show...

متن کامل

DP-Complete Problems Derived from Extremal NP-Complete Properties

In contrast to the extremal variants of coNP-complete problems, which are frequently DP-complete, many extremal variants of NP-complete problems are in P. We investigate the extremal variants of two NP-complete problems, the extremal colorability problem with restricted degree and the extremal unfrozen non-implicant problem, and show that both of them are DP-complete. As far as we know, no extr...

متن کامل

CS 710 : Complexity Theory 1 / 28 / 2010 Lecture 4 : Time - Bounded Nondeterminism

In the previous lecture, we discussed NP-completeness and gave some strong results pertaining to the complexity of SAT, viz. that it is complete for NP under a reduction computable in logarithmic space and polylogarithmic time, and that it is complete for NQLIN (the set of NP problems solvable in quasilinear time) under quasi-linear time mapping reductions. The conclusion that all naturally occ...

متن کامل

The Complexity of Live Sequence Charts

We are interested in implementing a fully automated software development process starting from sequence charts, which have proven their naturalness and usefulness in industry. We show in this paper that even for the simplest variants of sequence charts, there are strong impediments to the implementability of this dream. In the case of a manual development, we have to check the final implementat...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2008